package com.ruoyi.wx.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author moxiu
 * @since 2021-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pt_report")
@ApiModel(value="PtReport对象", description="")
public class PtReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "实验报告id")
    @TableId(value = "report_id", type = IdType.AUTO)
    private Long reportId;

    @ApiModelProperty(value = "实验id")
    @TableField("exp_id")
    private Long expId;

    @ApiModelProperty(value = "学生id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "提交报告的地址")
    @TableField("submit")
    private String submit;

    @ApiModelProperty(value = "提交时间")
    @TableField("submit_time")
    private LocalDateTime submitTime;

    @ApiModelProperty(value = "教师批改后上传报告的地址")
    @TableField("review")
    private String review;

    @ApiModelProperty(value = "批改时间")
    @TableField("review_time")
    private LocalDateTime reviewTime;

    @ApiModelProperty(value = "实验目的成绩")
    @TableField("purpose")
    private Double purpose;

    @ApiModelProperty(value = "实验仪器用具成绩")
    @TableField("tool")
    private Double tool;

    @ApiModelProperty(value = "实验原理成绩")
    @TableField("principle")
    private Double principle;

    @ApiModelProperty(value = "实验内容成绩")
    @TableField("content")
    private Double content;

    @ApiModelProperty(value = "实验数据处理成绩")
    @TableField("data")
    private Double data;

    @ApiModelProperty(value = "实验现象及分析成绩")
    @TableField("sum")
    private Double sum;

    @ApiModelProperty(value = "分数")
    @TableField("score")
    private Double score;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否启用（1：启用；0：禁用）")
    @TableField("is_enable")
    private Boolean isEnable;


}
